package com.ebao.po.user;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ebao.constants.UserType;

/**
 * @desc 邀请好友注册
 * 
 * 邮件邀请站外好友注册成功后,自动相互关注
 * 
 * @author snow
 * @date 2012-7-11
 */
@Entity
@Table(name = "T_Invite_Friend")
public class TInviteFriend implements Serializable {

	private static final long serialVersionUID = 5111824552147174920L;
	
	private Long id;
	private UserType userType;	// 用户类型user/doctor
	private String referId;		// 用户Id
	private String email;		// 好友的邮箱
	private String inviteDate;	// 邀请日期

	@Id
	@GeneratedValue
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public UserType getUserType() {
		return userType;
	}

	public void setUserType(UserType userType) {
		this.userType = userType;
	}

	public String getReferId() {
		return referId;
	}

	public void setReferId(String referId) {
		this.referId = referId;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(length = 19)
	public String getInviteDate() {
		return inviteDate;
	}

	public void setInviteDate(String inviteDate) {
		this.inviteDate = inviteDate;
	}

}
